package pl.polsl.mmm.projectcomm.objects;

import pl.polsl.mmm.projectcomm.data.Color;
import pl.polsl.mmm.projectcomm.data.vec3;

/**
 * Created by Monika on 2015-01-25.
 */
public class LightSource {

    //Pozycja światła
    private vec3 position;

    //Współczynniki dla modelu Phnga
    private Color ambient;
    private Color diffuse;
    private Color specular;

    public LightSource(vec3 position, Color ambient, Color diffuse, Color specular) {
        this.position = position;
        this.ambient = ambient;
        this.diffuse = diffuse;
        this.specular = specular;
    }

    public vec3 getPosition() {
        return position;
    }

    public void setPosition(vec3 position) {
        this.position = position;
    }

    public Color getAmbient() {
        return ambient;
    }

    public void setAmbient(Color ambient) {
        this.ambient = ambient;
    }

    public Color getDiffuse() {
        return diffuse;
    }

    public void setDiffuse(Color diffuse) {
        this.diffuse = diffuse;
    }

    public Color getSpecular() {
        return specular;
    }

    public void setSpecular(Color specular) {
        this.specular = specular;
    }
}
